package test;

import java.io.*;

public class Oppo2 {
    public static void main(String[] args) {
        FileInputStream fileInputStream;
        InputStreamReader inputStreamReader;
        BufferedReader br;
        String line;
        try {
            fileInputStream = new FileInputStream("d:\\readme.md");
            inputStreamReader = new InputStreamReader(fileInputStream,"UTF-8");
            br = new BufferedReader(inputStreamReader);
            while ((line = br.readLine()) != null){
                System.out.println(line);
            }
            fileInputStream.close();
            inputStreamReader.close();
            br.close();
        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
